package org.toycode.logindemo.application.tapestry.pages;

import org.apache.tapestry5.annotations.Persist;

/**
 * This class provides loggedin welcome for users.
 *
 * @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
 * @version 1.0.0.1, Aug 19, 2009
 */
public class LoginSucceed {

    @Persist
    private String name;

    /**s
     * Gets the name of the loggedin user.
     * @return the name of the loggedin user
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the name of the loggedin user.
     * @param name the name of the loggedin user
     */
    public void setName(final String name) {
        this.name = name;
    }
}
